package com.petadoption.serverclient.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.petadoption.serverclient.entity.Address;
import com.petadoption.serverclient.vo.AddressVO;

import java.util.List;

public interface IAddressService extends IService<Address> {

    List<AddressVO> findAddressAll(Integer userId);

    int addAddress(AddressVO addressVO);

    int updateAddress(Address address);

    Address findAddress(Integer addressId, Integer userId);

    int deleteAddress(Integer addressId, Integer userId);

}
